<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path;
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Psychological Test Center</title>

<link rel="stylesheet" type="text/css"
	href="<%=basePath%>/css/jqtransform.css" />
<link rel="stylesheet" type="text/css"
	href="<%=basePath%>/css/login.css" />

<script type="text/javascript" src="<%=basePath%>/js/jquery-1.5.2.min.js"></script>
<script type="text/javascript"
	src="<%=basePath%>/js/jquery.jqtransform.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/login.js"></script>
</head>
<body>

	<div id="login-wrapper">
		<div class="login-header-wrapper">
			<div class="header">九江学院心理测试中心</div>
		</div>
		<div class="login-body-wrapper">
			<div class="background-image"></div>
			<div class="main-content">
				<div class="header">用户登录</div>
				<form:form commandName="userVo" action="/psytest-webapp/login"
					method="POST">
					<table>
						<tr>
							<td><label>账号:</label></td>
							<td><form:input path="username" /></td>
							<td class="error"><form:errors path="username" /></td>
						</tr>
						<tr>
							<td><label>密码:</label></td>
							<td><form:password path="password" /></td>
							<td class="error"><form:errors path="password" /></td>
						</tr>
					</table>
					<div class="btn">
						<input id="register" type="button" value="用户注册" /><input type="submit"
							value="立即登录" />
					</div>
				</form:form>
			</div>
		</div>
		<div class="login-tailer-wrapper"></div>
	</div>
</body>
</html>